﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="LoginControl.ascx.cs" Inherits="webtracuudiem.LoginControl" %>
<h2>Login</h2>




<asp:MultiView ID="mvLogin" runat="server">
    <asp:View ID="viewChuaDangNhap" runat="server">
        <asp:Panel runat="server" DefaultButton="btnLogin">
        <p>
            USER NAME : <asp:TextBox ID="txtUserName" runat="server" Width="144px" />
        </p>
        <p>
            PASSWORD : <asp:TextBox ID="txtPassword" runat="server" Width="144px" TextMode="Password" />
        </p>
        <p style="text-align: center">
            <asp:CheckBox runat="server" ID="chkRemember" Text="Nhớ thông tin đăng nhập" />
            <br />
            <asp:Label runat="server" ID="lblThongBao" Text="" ForeColor="Red" />
            <br />
        </p>
        <p style="text-align: center">
            <asp:Button ID="btnLogin" runat="server" Text="Đăng nhập" OnClick="btnLogin_Click" />
        </p>
        </asp:Panel>
    </asp:View>
    <p style="text-align: center">
        <asp:View ID="viewDaDangNhap" runat="server">
            Xin chào
            <asp:Label ID="lblUsername" runat="server" Font-Bold="True" Font-Size="Small" />
            <asp:LinkButton ID="btnThoat" runat="server" Text="Thoát" OnClick="btnThoat_Click" />
        </asp:View>
    </p>
</asp:MultiView>